package com.bootdo.units.service;

import com.bootdo.units.domain.UnitsDO;

import java.util.List;
import java.util.Map;

/**
 * 单位
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-03-02 19:04:46
 */
public interface UnitsService {
	
	UnitsDO get(Integer id);
	
	List<UnitsDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(UnitsDO units);
	
	int update(UnitsDO units);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	List<UnitsDO> getAllUnitsName();
}
